Skip to content

Prevent this from eating content after punctuation#86

Open
csb324 wants to merge 1 commit intohaml:masterfrom
csb324:preserve-content-after-comma
Open

Prevent this from eating content after punctuation#86
csb324 wants to merge 1 commit intohaml:masterfrom
csb324:preserve-content-after-comma

Conversation

@csb324
Copy link

@csb324 csb324 commented Dec 18, 2017

So I had some content that looked like this:

<p>Lorem ipsum probatus <a href="#">explicari eu</a>, te pro simul Important Content Here. Populo vocent est ne.</p>

... and it was getting converted incorrectly as:

%p
  Lorem ipsum probatus
  = succeed "," do
    %a{:href => "#"} explicari eu

I've updated the code that deals with the = succeed "," part, so the content after the link doesn't get swallowed up. Hope this helps someone other than me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant